@charset "utf-8";
/* CSS Document */

/*gallery */

.gallery {
    padding: 20px;
    background-color: #f4f4f4;
}

.gallery h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center images for smaller screens */
}

.image-gal-container {
    flex: 0 1 calc(50% - 20px); /* Two images per row */
    max-width: 100%;
    text-align: center;
}

.image-gal-container img {
    width: 100%; /* Ensure images are responsive */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-gal-container img:hover {
    transform: scale(1.05); /* Add a subtle zoom effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-gal-container {
        flex: 0 1 calc(100% - 20px); /* One image per row on tablets */
    }

    .gallery h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 10px;
    }

    .image-gal-container {
        padding: 10px 0;
    }

    .gallery h3 {
        font-size: 1rem;
    }
}
